home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Commodities / WinShuffle / Install next >
Text File  |  1996-09-26  |  1KB  |  65 lines

  1. ; --------------------------------
  2. ; WinShuffle installation script
  3. ;
  4. ; $VER: InstallWS 1.0 (11.12.95)
  5. ; --------------------------------
  6.  
  7. ; choose which parts to install
  8. ;
  9. (set choice 
  10.    (askoptions (prompt  "Which parts do you want to be installed")
  11.       (help @askoptions-help)
  12.       (choices " WinShuffle program"
  13.                " WinShuffle docs"
  14.       )
  15.       (default -1)
  16.    )
  17. )
  18.  
  19. ; [possibly] copy program
  20. ;
  21. (if (BITAND choice $01)
  22.   ; --- then
  23.   ((set pgm_dir ;then
  24.       (askdir
  25.          (prompt "Where do you want the Winshuffle program to be copied ?")
  26.          (help "If you want Winshuffle to be started on every boot "
  27.                "the WBStartup drawer on your boot partition or disk "
  28.                "is the right place"
  29.          )
  30.          (default "SYS:WBStartup")
  31.       )
  32.    )
  33.    (copyfiles
  34.       (prompt ("copying Winshuffle program to %s" pgm_dir))
  35.       (source "WinShuffle")
  36.       (dest pgm_dir)
  37.       (nogauge)
  38.       (infos)
  39.    ))
  40. ) ; --- end-if
  41.  
  42. ; [possibly] copy docs
  43. ;
  44. (if (BITAND choice $02)
  45.   ; --- then
  46.   ((set doc_dir
  47.       (askdir
  48.          (prompt "Where do you want the Winshuffle docs to be copied ?")
  49.          (help @askdir-help)
  50.          (default "HELP:English")
  51.       )
  52.    )
  53.    (copyfiles
  54.       (prompt ("copying Winshuffle docs to %s" doc_dir))
  55.       (source "WinShuffle.guide")
  56.       (dest doc_dir)
  57.       (nogauge)
  58.       (infos)
  59.    ))
  60. ) ; --- end if
  61.  
  62. ; set appropriate destination
  63. ;
  64. (set @default-dest pgm_dir)
  65.